#ifndef DATA_H
#define DATA_H

#include <iostream>
#include <string>

using namespace std;

class Data
{
public:
 Data( int _year,     string _date, string _hour,
       double _lat,   double _long, int _error,    string _state, 
       double _depth, double _mag,  int _type,     char _cat, 
       string _Io,    double _area, string _local, string _comment );


 Data( int _year,    string _date,  string _hour,    double _lat,
	      double _long, int _error,    string _state,   double _depth, 
	      double _mag,  int _type,     char _cat,       string _Io, 
	      double _area, string _local, string _comment, double _Mw1,
	      double _Mw2,  double _Mw3,   double _Mw);
 
 ~Data();

 int getyear();
 string getdate();
 string gethour();
 double getlat();
 double getlong();
 int geterror();
 string getstate();
 double getdepth();
 double getmag();
 int gettype();
 char getcat();
 string getIo();
 double getarea();
 string getlocal();
 string getcomment();
 double getMw1();
 double getMw2();
 double getMw3();
 double getMw();


private:
 int m_year;
 string m_date;
 string m_hour;
 double m_lat;
 double m_long;
 int m_error;
 string m_state;
 double m_depth;
 double m_mag;
 int m_type;
 char m_cat;
 string m_Io;
 double m_area;
 string m_local;
 string m_comment;
 double m_mag2;
 double m_Mw1;
 double m_Mw2;
 double m_Mw3;
 double m_Mw;
 
};






#endif